package com.piccolo.wrapper.client.component.JSNI;

import com.piccolo.wrapper.client.component.Overlay.PBoundsOverlay;
import com.piccolo.wrapper.client.component.Overlay.PCameraOverlay;
import com.piccolo.wrapper.client.component.Overlay.PLayerOverlay;

public class PLayerJSNI 
{
	public native PLayerOverlay create(String theStyle, PBoundsOverlay theBounds) 
	/*-{ return new $wnd.PLayer({fillStyle: theStyle, bounds: theBounds}); }-*/;

	public native PLayerOverlay create() 
	/*-{ return new $wnd.PLayer(); }-*/;

	public native void addCamera(PLayerOverlay self, PCameraOverlay camera) 
	/*-{ self.addCamera(camera) }-*/;

	public native void removeCamera(PLayerOverlay self, PCameraOverlay camera) 
	/*-{ self.removeCamera(camera); }-*/;
}
